package com.lazy.book.pojo.system.pojo.dto;

import cn.idev.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
/**
 * <p>
 * SysEmail导入DTO
 * </p>
 *
 * @author sz-admin
 * @since 2025-07-02
 */
@Data
@Schema(description = "SysEmail导入DTO")
public class SysEmailImportDTO {

    @ExcelProperty(value = "")
    @Schema(description =  "")
    private Integer enterpriseId;

    @ExcelProperty(value = "邮件主题")
    @Schema(description =  "邮件主题")
    private String emailTitle;

    @ExcelProperty(value = "邮件内容")
    @Schema(description =  "邮件内容")
    private String emailContent;

    @ExcelProperty(value = "发件邮箱")
    @Schema(description =  "发件邮箱")
    private String fromEmail;

    @ExcelProperty(value = "收件邮箱")
    @Schema(description =  "收件邮箱")
    private String toEmail;

    @ExcelProperty(value = "邮件是否已经发送，1发送，0未发送 2出现错误")
    @Schema(description =  "邮件是否已经发送，1发送，0未发送 2出现错误")
    private Integer state;

    @ExcelProperty(value = "是否已读标志 1是未读 2是已读")
    @Schema(description =  "是否已读标志 1是未读 2是已读")
    private Integer status;

    @ExcelProperty(value = "")
    @Schema(description =  "")
    private String createBy;

    @ExcelProperty(value = "")
    @Schema(description =  "")
    private String updateBy;

    @Schema(description =  "发布时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime publishdate;

    @ExcelProperty(value = "发布给")
    @Schema(description =  "发布给")
    private String publishby;

    @ExcelProperty(value = "可见")
    @Schema(description =  "可见")
    private String orgids;

    @ExcelProperty(value = "是否是企业信息 0 否 1是")
    @Schema(description =  "是否是企业信息 0 否 1是")
    private Integer isEnterprise;

    @ExcelProperty(value = "抄送邮箱")
    @Schema(description =  "抄送邮箱")
    private String copyEmail;

}